(function() {
  var __hasProp = {}.hasOwnProperty,
    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };

  define(function(require, exports, module) {
    var Controller, Star_controll, Topic_list, Topic_model, mvc, topic_list, topic_model;
    mvc = require('m/mvc');
    Topic_list = require('view/topic_list_view');
    Topic_model = require('model/topic_model');
    topic_list = Topic_list.instance();
    topic_model = Topic_model.instance();
    Controller = mvc.Controller;
    return Star_controll = (function(_super) {
      __extends(Star_controll, _super);

      function Star_controll() {
        this.index();
      }

      Star_controll.prototype.index = function() {
        topic_list.on('load_more', function(option) {
          return topic_model.list(option);
        });
        topic_model.on('list', function(data) {
          return console.log(data);
        });
        return topic_list.load();
      };

      return Star_controll;

    })(Controller);
  });

}).call(this);
